import {createStore,combineReducers,applyMiddleware} from "redux"
// redux-thunk 异步action
import thunk from "redux-thunk"
// 导入Reducer
import department from "./reducer/Department";
import job from "./reducer/Job";
import config from "./reducer/Config";

const allReducer = {department,job,config}

export default createStore(combineReducers(allReducer),applyMiddleware(thunk))